package com.lingxu.base.system.dict.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 数据字典-节假日
 * @Author: 朱家池
 * @Date:   2023-05-16
 * @Version: V1.0.1
 */
@Data
@TableName("sjmf_holiday_info")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="sjmf_holiday_info对象", description="数据字典-节假日")
public class Holiday implements Serializable{
    
	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private Integer id;
	/**节日名称*/
    @ApiModelProperty(value = "节日名称")
	private String festival;
	/**放假日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "放假日期")
	private Date libertyDate;
	/**所在年份*/
    @ApiModelProperty(value = "所在年份")
	private String year;
	/**添加时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "添加时间",hidden = true)
	private Date addTime;
	/**备注*/
	@ApiModelProperty(value = "备注")
	private String remark;


}
